package com.luwak.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author ChenXc
 * @version V1.0
 * @Date 2018/2/27  15:47
 * @Description TODO(一句话描述类作用)
 */
@Controller
public class HomeController {

    @GetMapping({"/", "/index", "/home"})
    public String root() {
        return "index";
    }

    @GetMapping("/login")
    public String login() {
        return "login";
    }

}
